\documentclass{article}
\begin{document}

\begin{verbatim}
42
\end{verbatim}

\end{document}
